package com.kb.erp;

import com.kb.erp.service.impl.SynDataImpl;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

import javax.annotation.Resource;

@SpringBootApplication
@EnableScheduling
@MapperScan("com.kb.erp.mapper")
public class TaskApplication {

    public static void main(String[] args) {

        SpringApplication.run(TaskApplication.class, args);
    }

//    @PostConstruct
//    public void init() {
//        // 执行一次你的方法
//        synDataImpl.synProcessCenter();
//    }

}
